/**
 * web2010_admin
 * cn.aresoft.logic.service.implement.system.menu MenuServiceImpl.java
 */
package com.xsoft.logic.service.implement.sys.menu;

import java.util.List;

import com.xsoft.framework.service.BaseService;
import com.xsoft.logic.model.sys.MenuLimits;
import com.xsoft.logic.service.interfaces.sys.menu.MenuService;


/**
 * @author 潘冬
 * 2010-8-12 下午03:14:11
 */
public class MenuServiceImpl extends BaseService implements MenuService {
	private String selectMenuByUserSQL;
	/* (non-Javadoc)
	 * @see cn.aresoft.framework.service.BaseService#getTableName()
	 */
	@Override
	public String getTableName() {
		// TODO Auto-generated method stub
		return "Menu";
	}
	
	public List<MenuLimits> selectMenuByUser(){
		return dao.findForList(selectMenuByUserSQL, null);
	}

	public void setSelectMenuByUserSQL(String selectMenuByUserSQL) {
		this.selectMenuByUserSQL = selectMenuByUserSQL;
	}

}
